/*
 * ResumeTransferEvent.h
 *
 *  Created on: 05.01.2012
 *      Author: mario
 */

#ifndef RESUMETRANSFEREVENT_H_
#define RESUMETRANSFEREVENT_H_

#include "ariba/utility/system/SystemQueue.h"
#include "../../FileInfo.h"

using namespace std;

using ariba::utility::SystemQueue;
using ariba::utility::SystemEvent;
using ariba::utility::SystemEventType;
using ariba::utility::SystemEventListener;


class Filetransfer;

class ResumeTransferEvent : public SystemEventListener
{
public:
    ResumeTransferEvent(Filetransfer* filetransfer, FilePtr file, bool just_hold);
    virtual ~ResumeTransferEvent();

protected:
    virtual void handleSystemEvent( const SystemEvent& event );


private:
    Filetransfer* filetransfer;
    FilePtr file;
    bool just_hold;

};

#endif /* RESUMETRANSFEREVENT_H_ */
